stack switcher: Notify consistently
authorMatthias Clasen <mclasen@redhat.com>
Thu, 19 Nov 2015 23:08:30 +0000 (18:08 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 20 Nov 2015 05:13:20 +0000 (00:13 -0500)
Whether to notify a property change should not depend
on whether the switcher is associated with a stack or not.

gtk/gtkstackswitcher.c

index de46f8c6b21ff135ad0cabba3a90049d93f85a98..e8f3b9b00498903a9900d397592a904947d76c58 100644 (file)
@@ -474,8 +474,9 @@ gtk_stack_switcher_set_icon_size (GtkStackSwitcher *switcher,
         {
           clear_switcher (switcher);
           populate_switcher (switcher);
-          g_object_notify (G_OBJECT (switcher), "icon-size");
         }
+
+      g_object_notify (G_OBJECT (switcher), "icon-size");
     }
 }